// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ParallelPortEvent.java

package javax.comm;

import java.util.EventObject;

// Referenced classes of package javax.comm:
//            ParallelPort

public class ParallelPortEvent extends EventObject
{

    public int eventType;
    private boolean oldValue;
    private boolean newValue;
    public static final int PAR_EV_ERROR = 1;
    public static final int PAR_EV_BUFFER = 2;

    public ParallelPortEvent(ParallelPort parallelport, int i, boolean flag, boolean flag1)
    {
        super(parallelport);
        eventType = i;
        oldValue = oldValue;
        newValue = flag1;
    }

    public int getEventType()
    {
        return eventType;
    }

    public boolean getNewValue()
    {
        return newValue;
    }

    public boolean getOldValue()
    {
        return oldValue;
    }
}
